﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TimetableSystem.Model;

namespace TimetableSystem.Model
{
    /// <summary>
    /// A model object representing a User
    /// </summary>
    public class User
    {
        public User(Guid userId, string firstName, string secondName, string userName, string course)
        {
            UserId = userId;
            FirstName = firstName;
            SecondName = secondName;
            UserName = userName;
            Course = course;
        }

        public Guid UserId { get; set; }
        public string UserName { get; set; }
        public string FirstName { get; set; }
        public string SecondName { get; set; }
        public string Course { get; set; }
        public List<Module> Modules { get; set; }
    }
}
